﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Home.ascx.vb" Inherits="FrontEnd_Control_Store_Home" %>
<%@ Register Assembly="HighslideImage" Namespace="Encosia" TagPrefix="encosia" %>
<%--<%@  Registr Src="Map.ascx" tagname="Map" tagprefix="uc1" %>--%>
<%--<encosia:HighslideManager ID="HighslideManager1" runat="server" OutlineType="RoundedWhite" />--%>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {
            $(".box-item").click(function () {
                window.location.href = $(this).find("a").attr("href");
                return false;
            });

            $('.ImgThumb').click(function () {

                var CureImgURL = $(this).attr("src").replace("90-60", "");

                $(".SalonBigImage a img").each(function () {
                    var ImgURL = $(this).attr("src").replace("420-300", "");

                    if (ImgURL == CureImgURL) {
                        $(this).attr("style", "display:inline");
                    }
                    else {
                        $(this).attr("style", "display:none");
                    }
                });
            });

        });
    }
</script>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="bgtitle_porletright_view">
            <div class="texttitle_porletright_view">
                <h1>
                    <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink></h1>
            </div>
        </div>
        <div class="bgmid_porletright">
            <div class="bgcontent_porletinfo">
                <div class="StoreHome">
                    <b>ABN:</b><asp:Literal ID="ltrABN" runat="server"></asp:Literal>
                </div>
                <div class="StoreHome">
                    <b>Địa chỉ:</b>
                    <asp:Literal ID="ltrDiaChi" runat="server">
                    </asp:Literal>
                </div>
                <div class="StoreHome">
                    <b>Điện thoại:</b>
                    <asp:Literal ID="ltrDienThoai" runat="server"></asp:Literal></div>
                <div class="StoreHome">
                    <b>Email:</b>
                    <asp:Literal ID="ltrEmail" runat="server"></asp:Literal>&nbsp;</div>
                <div class="StoreHome">
                    <b>Website:</b>
                    <asp:Literal ID="ltrURL" runat="server"></asp:Literal>&nbsp;</div>
                <div class="StoreHome">
                    <asp:Literal ID="ltrDescription" runat="server"></asp:Literal>
                </div>
            </div>
            <div class="clear_both" style="height: 10px;">
            </div>
        </div>
        <div class="bgbottom_porletright">
        </div>
        <div class="bgtitle_porletright_view">
            <div class="texttitle_porletright_view">
                <h1>
                    Hình ảnh</h1>
            </div>
        </div>
        <div class="bgmid_porletright">
            <div class="SalonImage">
                <div class="SalonBigImage">
                    <asp:Repeater ID="rptBigBanner" runat="server">
                        <ItemTemplate>
                            <encosia:HighslideImage ID="HighslideImage1" runat="server" Caption="" ImageUrl=""
                                FullImageURL="" />
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <div class="SalonBigImageThumb">
                    <asp:Repeater ID="rptImageThumb" runat="server">
                        <ItemTemplate>
                            <span>
                                <asp:Image ID="imgThumb" runat="server" CssClass="ImgThumb" />
                            </span>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </div>
        <div class="bgbottom_porletright">
        </div>
        <asp:HiddenField ID="hidStoreId" Value="0" runat="server" />
    </ContentTemplate>
</asp:UpdatePanel>
<%--<uc1:map id="Map1" runat="server" />--%>
